package cn.xlbweb.sso.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author: bobi
 * @date: 2019-03-24 22:51
 * @description:
 */
@Controller
public class HomeController {

    @GetMapping("")
    public String index() {
        return "redirect:/admin";
    }

    @GetMapping("admin")
    public String admin() {
        return "index";
    }

    @GetMapping("welcome")
    public String welcome() {
        return "welcome";
    }
}
